<extend name="Public/base" />

<block name="body">
	<!-- 标题栏 -->
		<div class="tab-wrap">
		<ul class="tab-nav nav">
		<li><a href="{:U('act',array('id'=>I('id',0)))}">借出</a></li>
		<li class="current"><a href="{:U('back',array('id'=>I('id',0)))}">归还</a></li>
		</ul>
		<div class="tab-content">
	<!-- 修改密码表单 -->
    <form action="{:U('Asset/add')}" method="post" class="form-horizontal" autocomplete="off">
		<div class="form-item">
			<label class="item-label">使用人部门<span class="check-tips">（部门）</span></label>
			<div class="controls">
				{$info.now_part}
			</div>
		</div>
		<div class="form-item">
			<label class="item-label">使用人姓名<span class="check-tips">（人员名称）</span></label>
			<div class="controls">
				{$info.now_user}
			</div>
		</div>
		<div class="form-item">
			<label class="item-label">所有者<span class="check-tips">（昵称）</span></label>
			<div class="controls">
				{$info.user_name}
			</div>
		</div>
		<div class="form-item">
			<label class="item-label">设备状态<span class="check-tips">（状态）</span></label>
			<div class="controls">
				{$info.device_status}
			</div>
		</div>
		<div class="form-item">
			<label class="item-label">备注<span class="check-tips">（备注）</span></label>
			<div class="controls">
				<input type="text" name="remark" class="text input-large" autocomplete="off" value="{$info.remark}"/>
			</div>
		</div>
		<div class="form-item">
			<input type="hidden" name="id" value="{$info.id}">
			<input type="hidden" name="now_part" value="">
			<input type="hidden" name="now_user" value="">
			<input type="hidden" name="do_act" value="2">
			<input type="hidden" name="device_status" value="已归还">
			<button type="submit" class="btn submit-btn ajax-post" target-form="form-horizontal">归 还</button>
			<button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
		</div>
	</form>
			</div>
	</div>
</block>

<block name="script">
	<script src="__STATIC__/thinkbox/jquery.thinkbox.js"></script>
</block>
